package io.github.kouleen.manager.listener.server;

import io.github.kouleen.minecraft.core.lang.annotation.MinecraftPluginListener;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.server.ServerCommandEvent;

/**
 * 这个事件当服务器后台发送指令时调用
 * @author zhangqing
 * @since 2025/2/26 11:06
 */
@MinecraftPluginListener
public class ServerCommandListener implements Listener {

    @EventHandler
    public void onServerCommandListener(ServerCommandEvent serverCommandEvent){
        System.out.println("我被命令了");
    }
}
